.class public Lcom/instagram/android/creation/b/bs;
.super Lcom/instagram/e/b/b;
.source "FollowersShareFragment.java"


# instance fields
.field private Z:Landroid/widget/CheckBox;

.field a:Ljava/util/Observer;

.field private aa:Landroid/widget/TextView;

.field private ab:Landroid/view/View;

.field private ac:Landroid/view/View;

.field private ad:Lcom/instagram/android/creation/b/s;

.field private ae:Lcom/instagram/pendingmedia/model/c;

.field private af:Landroid/location/Location;

.field private ag:Lcom/instagram/venue/model/Venue;

.field private ah:Landroid/location/Location;

.field private ai:Z

.field private aj:Ljava/lang/Runnable;

.field private ak:Z

.field private al:Z

.field private am:Lcom/facebook/b/a/j;

.field private an:Lcom/instagram/android/creation/b/ce;

.field private ao:Lcom/instagram/android/creation/b/cf;

.field private ap:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Lcom/instagram/android/widget/as;",
            "Ljava/lang/Boolean;",
            ">;"
        }
    .end annotation
.end field

.field private final aq:Landroid/os/Handler;

.field private ar:Lcom/instagram/android/creation/a;

.field b:Landroid/content/BroadcastReceiver;

.field private c:Landroid/widget/CompoundButton;

.field private d:Landroid/widget/TextView;

.field private e:Lcom/instagram/android/widget/ShareTable;

.field private f:Lcom/instagram/android/widget/ag;

.field private g:Landroid/view/View;

.field private h:Landroid/widget/CheckBox;

.field private i:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 62
    invoke-direct {p0}, Lcom/instagram/e/b/b;-><init>()V

    .line 100
    new-instance v0, Lcom/instagram/android/creation/b/ce;

    invoke-direct {v0, p0, v1}, Lcom/instagram/android/creation/b/ce;-><init>(Lcom/instagram/android/creation/b/bs;Lcom/instagram/android/creation/b/bt;)V

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->an:Lcom/instagram/android/creation/b/ce;

    .line 101
    new-instance v0, Lcom/instagram/android/creation/b/cf;

    invoke-direct {v0, p0, v1}, Lcom/instagram/android/creation/b/cf;-><init>(Lcom/instagram/android/creation/b/bs;Lcom/instagram/android/creation/b/bt;)V

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->ao:Lcom/instagram/android/creation/b/cf;

    .line 104
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->ap:Ljava/util/Map;

    .line 106
    new-instance v0, Lcom/instagram/android/creation/b/bt;

    invoke-direct {v0, p0}, Lcom/instagram/android/creation/b/bt;-><init>(Lcom/instagram/android/creation/b/bs;)V

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->a:Ljava/util/Observer;

    .line 126
    new-instance v0, Lcom/instagram/android/creation/b/bw;

    invoke-direct {v0, p0}, Lcom/instagram/android/creation/b/bw;-><init>(Lcom/instagram/android/creation/b/bs;)V

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->aq:Landroid/os/Handler;

    .line 146
    new-instance v0, Lcom/instagram/android/creation/b/bx;

    invoke-direct {v0, p0}, Lcom/instagram/android/creation/b/bx;-><init>(Lcom/instagram/android/creation/b/bs;)V

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->b:Landroid/content/BroadcastReceiver;

    .line 172
    return-void
.end method

.method private X()V
    .locals 3

    .prologue
    .line 403
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->c:Landroid/widget/CompoundButton;

    invoke-virtual {v0}, Landroid/widget/CompoundButton;->isChecked()Z

    move-result v0

    if-nez v0, :cond_0

    .line 404
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->g:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 405
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ab:Landroid/view/View;

    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->l()Landroid/content/res/Resources;

    move-result-object v1

    sget v2, Lcom/facebook/av;->input_single:I

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 412
    :goto_0
    return-void

    .line 408
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->g:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 409
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ab:Landroid/view/View;

    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->l()Landroid/content/res/Resources;

    move-result-object v1

    sget v2, Lcom/facebook/av;->input_top:I

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_0
.end method

.method private Y()V
    .locals 2

    .prologue
    .line 421
    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getApplication()Landroid/app/Application;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/InstagramApplication;

    iget-object v1, p0, Lcom/instagram/android/creation/b/bs;->a:Ljava/util/Observer;

    invoke-virtual {v0, v1}, Lcom/instagram/android/InstagramApplication;->b(Ljava/util/Observer;)V

    .line 423
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->aq:Landroid/os/Handler;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    .line 424
    return-void
.end method

.method private Z()V
    .locals 4

    .prologue
    .line 427
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->aa()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 440
    :goto_0
    return-void

    .line 429
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->aq:Landroid/os/Handler;

    const/4 v1, 0x0

    const-wide/16 v2, 0x2710

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    .line 431
    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getApplication()Landroid/app/Application;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/InstagramApplication;

    .line 432
    invoke-virtual {v0}, Lcom/instagram/android/InstagramApplication;->a()Landroid/location/Location;

    move-result-object v1

    .line 433
    if-eqz v1, :cond_1

    invoke-virtual {v0, v1}, Lcom/instagram/android/InstagramApplication;->a(Landroid/location/Location;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 434
    invoke-direct {p0, v1}, Lcom/instagram/android/creation/b/bs;->a(Landroid/location/Location;)V

    goto :goto_0

    .line 436
    :cond_1
    iget-object v1, p0, Lcom/instagram/android/creation/b/bs;->i:Landroid/widget/TextView;

    sget v2, Lcom/facebook/ba;->locating:I

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(I)V

    .line 437
    iget-object v1, p0, Lcom/instagram/android/creation/b/bs;->a:Ljava/util/Observer;

    invoke-virtual {v0, v1}, Lcom/instagram/android/InstagramApplication;->a(Ljava/util/Observer;)Lcom/instagram/android/m/a;

    .line 438
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/instagram/android/creation/b/bs;->ai:Z

    goto :goto_0
.end method

.method static synthetic a(Lcom/instagram/android/creation/b/bs;)Landroid/widget/CompoundButton;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->c:Landroid/widget/CompoundButton;

    return-object v0
.end method

.method private a()Lcom/instagram/b/b;
    .locals 7

    .prologue
    const/4 v2, 0x1

    const/4 v3, 0x0

    .line 375
    new-instance v4, Lcom/instagram/b/b;

    const-string v0, "upload_media"

    invoke-direct {v4, v0, p0}, Lcom/instagram/b/b;-><init>(Ljava/lang/String;Lcom/instagram/b/d;)V

    .line 376
    const-string v1, "test_group"

    invoke-static {}, Lcom/instagram/m/b/a;->a()Lcom/instagram/m/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/m/b/a;->t()Z

    move-result v0

    if-eqz v0, :cond_1

    move v0, v2

    :goto_0
    invoke-virtual {v4, v1, v0}, Lcom/instagram/b/b;->a(Ljava/lang/String;I)Lcom/instagram/b/b;

    .line 379
    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/android/widget/as;->b(Landroid/content/Context;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v5

    :cond_0
    :goto_1
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/widget/as;

    .line 380
    invoke-virtual {v0}, Lcom/instagram/android/widget/as;->d()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 381
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0}, Lcom/instagram/android/widget/as;->d()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v1, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v6, "_button_state_enter"

    invoke-virtual {v1, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    iget-object v1, p0, Lcom/instagram/android/creation/b/bs;->ap:Ljava/util/Map;

    invoke-interface {v1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    if-eqz v1, :cond_2

    move v1, v2

    :goto_2
    invoke-virtual {v4, v6, v1}, Lcom/instagram/b/b;->a(Ljava/lang/String;I)Lcom/instagram/b/b;

    .line 384
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0}, Lcom/instagram/android/widget/as;->d()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v1, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v6, "_button_state_exit"

    invoke-virtual {v1, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iget-object v6, p0, Lcom/instagram/android/creation/b/bs;->f:Lcom/instagram/android/widget/ag;

    invoke-virtual {v6, v0}, Lcom/instagram/android/widget/ag;->a(Lcom/instagram/android/widget/as;)Z

    move-result v0

    if-eqz v0, :cond_3

    move v0, v2

    :goto_3
    invoke-virtual {v4, v1, v0}, Lcom/instagram/b/b;->a(Ljava/lang/String;I)Lcom/instagram/b/b;

    goto :goto_1

    :cond_1
    move v0, v3

    .line 376
    goto :goto_0

    :cond_2
    move v1, v3

    .line 381
    goto :goto_2

    :cond_3
    move v0, v3

    .line 384
    goto :goto_3

    .line 390
    :cond_4
    return-object v4
.end method

.method static synthetic a(Lcom/instagram/android/creation/b/bs;Lcom/instagram/pendingmedia/model/c;)Lcom/instagram/pendingmedia/model/c;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    iput-object p1, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    return-object p1
.end method

.method static synthetic a(Lcom/instagram/android/creation/b/bs;Lcom/instagram/venue/model/Venue;)Lcom/instagram/venue/model/Venue;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    iput-object p1, p0, Lcom/instagram/android/creation/b/bs;->ag:Lcom/instagram/venue/model/Venue;

    return-object p1
.end method

.method private a(Landroid/location/Location;)V
    .locals 3
    .parameter

    .prologue
    .line 464
    iput-object p1, p0, Lcom/instagram/android/creation/b/bs;->ah:Landroid/location/Location;

    .line 465
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->Y()V

    .line 467
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ah:Landroid/location/Location;

    if-nez v0, :cond_0

    .line 468
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->d:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 469
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {v0}, Lcom/instagram/pendingmedia/model/c;->m()V

    .line 482
    :goto_0
    return-void

    .line 471
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->d:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 472
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->g:Landroid/view/View;

    new-instance v1, Lcom/instagram/android/creation/b/bu;

    invoke-direct {v1, p0}, Lcom/instagram/android/creation/b/bu;-><init>(Lcom/instagram/android/creation/b/bs;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 478
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->i:Landroid/widget/TextView;

    sget v1, Lcom/facebook/ba;->name_this_location:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 479
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {p1}, Landroid/location/Location;->getLatitude()D

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Lcom/instagram/pendingmedia/model/c;->a(D)V

    .line 480
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {p1}, Landroid/location/Location;->getLongitude()D

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Lcom/instagram/pendingmedia/model/c;->b(D)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/instagram/android/creation/b/bs;Landroid/content/Intent;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    invoke-direct {p0, p1}, Lcom/instagram/android/creation/b/bs;->b(Landroid/content/Intent;)V

    return-void
.end method

.method static synthetic a(Lcom/instagram/android/creation/b/bs;Landroid/location/Location;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    invoke-direct {p0, p1}, Lcom/instagram/android/creation/b/bs;->a(Landroid/location/Location;)V

    return-void
.end method

.method static synthetic a(Lcom/instagram/android/creation/b/bs;Landroid/view/View;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    invoke-direct {p0, p1}, Lcom/instagram/android/creation/b/bs;->b(Landroid/view/View;)V

    return-void
.end method

.method private a(Lcom/instagram/pendingmedia/model/c;)V
    .locals 3
    .parameter

    .prologue
    .line 367
    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/android/widget/as;->b(Landroid/content/Context;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/widget/as;

    .line 368
    invoke-virtual {v0}, Lcom/instagram/android/widget/as;->f()Z

    move-result v2

    if-eqz v2, :cond_0

    .line 369
    const/4 v2, 0x1

    invoke-virtual {v0, p1, v2}, Lcom/instagram/android/widget/as;->a(Lcom/instagram/model/a/b;Z)V

    goto :goto_0

    .line 372
    :cond_1
    return-void
.end method

.method private a(Lcom/instagram/venue/model/Venue;)V
    .locals 4
    .parameter

    .prologue
    const/16 v3, 0x8

    const/4 v1, 0x1

    const/4 v2, 0x0

    .line 508
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ag:Lcom/instagram/venue/model/Venue;

    if-nez v0, :cond_3

    .line 511
    invoke-static {}, Lcom/instagram/android/maps/f/a;->a()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 512
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->f:Lcom/instagram/android/widget/ag;

    invoke-virtual {v0}, Lcom/instagram/android/widget/ag;->a()Lcom/instagram/android/creation/widget/AlphaUploadCompoundButton;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/instagram/android/creation/widget/AlphaUploadCompoundButton;->setEnabled(Z)V

    .line 522
    :goto_0
    iget-boolean v0, p0, Lcom/instagram/android/creation/b/bs;->ai:Z

    if-nez v0, :cond_0

    .line 523
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->h:Landroid/widget/CheckBox;

    invoke-virtual {v0, v2}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 524
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->i:Landroid/widget/TextView;

    sget v1, Lcom/facebook/ba;->name_this_location:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 526
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ah:Landroid/location/Location;

    if-eqz v0, :cond_2

    .line 527
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 540
    :cond_0
    :goto_1
    return-void

    .line 515
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->f:Lcom/instagram/android/widget/ag;

    invoke-virtual {v0}, Lcom/instagram/android/widget/ag;->a()Lcom/instagram/android/creation/widget/AlphaUploadCompoundButton;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/instagram/android/creation/widget/AlphaUploadCompoundButton;->setEnabled(Z)V

    .line 517
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->f:Lcom/instagram/android/widget/ag;

    invoke-virtual {v0}, Lcom/instagram/android/widget/ag;->a()Lcom/instagram/android/creation/widget/AlphaUploadCompoundButton;

    move-result-object v0

    const/16 v1, 0x40

    invoke-virtual {v0, v1}, Lcom/instagram/android/creation/widget/AlphaUploadCompoundButton;->setAlpha(I)V

    goto :goto_0

    .line 529
    :cond_2
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_1

    .line 533
    :cond_3
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->h:Landroid/widget/CheckBox;

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 534
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->i:Landroid/widget/TextView;

    invoke-virtual {p1}, Lcom/instagram/venue/model/Venue;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 535
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 537
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->f:Lcom/instagram/android/widget/ag;

    invoke-virtual {v0}, Lcom/instagram/android/widget/ag;->a()Lcom/instagram/android/creation/widget/AlphaUploadCompoundButton;

    move-result-object v0

    const-string v1, "foursquare"

    iget-object v2, p0, Lcom/instagram/android/creation/b/bs;->ag:Lcom/instagram/venue/model/Venue;

    invoke-virtual {v2}, Lcom/instagram/venue/model/Venue;->e()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/creation/widget/AlphaUploadCompoundButton;->setEnabled(Z)V

    goto :goto_1
.end method

.method static synthetic a(Lcom/instagram/android/creation/b/bs;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    iput-boolean p1, p0, Lcom/instagram/android/creation/b/bs;->ai:Z

    return p1
.end method

.method private aa()Z
    .locals 1

    .prologue
    .line 443
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->ab()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 444
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->ac()Landroid/location/Location;

    move-result-object v0

    .line 445
    invoke-direct {p0, v0}, Lcom/instagram/android/creation/b/bs;->a(Landroid/location/Location;)V

    .line 446
    const/4 v0, 0x1

    .line 448
    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method private ab()Z
    .locals 1

    .prologue
    .line 452
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->af:Landroid/location/Location;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method private ac()Landroid/location/Location;
    .locals 1

    .prologue
    .line 456
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->af:Landroid/location/Location;

    return-object v0
.end method

.method private ad()Z
    .locals 1

    .prologue
    .line 460
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ah:Landroid/location/Location;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method private ae()Z
    .locals 1

    .prologue
    .line 485
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ag:Lcom/instagram/venue/model/Venue;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method private af()V
    .locals 4

    .prologue
    .line 579
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 580
    const-string v1, "media_url"

    new-instance v2, Ljava/io/File;

    iget-object v3, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {v3}, Lcom/instagram/pendingmedia/model/c;->q()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/io/File;->toURI()Ljava/net/URI;

    move-result-object v2

    invoke-virtual {v2}, Ljava/net/URI;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 584
    const-string v1, "people_tags"

    iget-object v2, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {v2}, Lcom/instagram/pendingmedia/model/c;->B()Lcom/instagram/model/people/b;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putParcelableArrayList(Ljava/lang/String;Ljava/util/ArrayList;)V

    .line 586
    invoke-static {}, Lcom/instagram/m/a/a;->a()Lcom/instagram/m/a/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/instagram/m/a/a;->g()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 587
    const-string v1, "face_rectangles"

    iget-object v2, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {v2}, Lcom/instagram/pendingmedia/model/c;->K()Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putParcelableArrayList(Ljava/lang/String;Ljava/util/ArrayList;)V

    .line 591
    :cond_0
    new-instance v1, Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->j()Landroid/support/v4/app/j;

    move-result-object v2

    const-class v3, Lcom/instagram/android/people/activity/PeopleTagActivity;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 592
    invoke-virtual {v1, v0}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 593
    const/16 v0, 0x3e8

    invoke-virtual {p0, v1, v0}, Lcom/instagram/android/creation/b/bs;->a(Landroid/content/Intent;I)V

    .line 594
    return-void
.end method

.method private ag()V
    .locals 5

    .prologue
    const/4 v2, 0x1

    const/4 v4, 0x0

    .line 597
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {v0}, Lcom/instagram/pendingmedia/model/c;->C()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 598
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->Z:Landroid/widget/CheckBox;

    invoke-virtual {v0, v2}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 599
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->aa:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

    .line 600
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {v0}, Lcom/instagram/pendingmedia/model/c;->B()Lcom/instagram/model/people/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/model/people/b;->size()I

    move-result v0

    if-ne v0, v2, :cond_0

    .line 601
    iget-object v1, p0, Lcom/instagram/android/creation/b/bs;->aa:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {v0}, Lcom/instagram/pendingmedia/model/c;->B()Lcom/instagram/model/people/b;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/instagram/model/people/b;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/model/people/PeopleTag;

    invoke-virtual {v0}, Lcom/instagram/model/people/PeopleTag;->b()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 611
    :goto_0
    return-void

    .line 603
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->aa:Landroid/widget/TextView;

    sget v1, Lcom/facebook/ba;->people_tagging_x_people:I

    new-array v2, v2, [Ljava/lang/Object;

    iget-object v3, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {v3}, Lcom/instagram/pendingmedia/model/c;->B()Lcom/instagram/model/people/b;

    move-result-object v3

    invoke-virtual {v3}, Lcom/instagram/model/people/b;->size()I

    move-result v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v2, v4

    invoke-virtual {p0, v1, v2}, Lcom/instagram/android/creation/b/bs;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 608
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->aa:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 609
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->Z:Landroid/widget/CheckBox;

    invoke-virtual {v0, v4}, Landroid/widget/CheckBox;->setChecked(Z)V

    goto :goto_0
.end method

.method private ah()V
    .locals 3

    .prologue
    .line 653
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v0

    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->a()Lcom/instagram/b/b;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->a(Lcom/instagram/b/b;)V

    .line 654
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v0

    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->j()Landroid/support/v4/app/j;

    move-result-object v1

    const-string v2, "next"

    invoke-interface {v0, v1, v2}, Lcom/instagram/b/c;->a(Landroid/app/Activity;Ljava/lang/String;)V

    .line 655
    return-void
.end method

.method static synthetic b(Lcom/instagram/android/creation/b/bs;Landroid/location/Location;)Landroid/location/Location;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    iput-object p1, p0, Lcom/instagram/android/creation/b/bs;->af:Landroid/location/Location;

    return-object p1
.end method

.method static synthetic b(Lcom/instagram/android/creation/b/bs;)Lcom/instagram/android/widget/ag;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->f:Lcom/instagram/android/widget/ag;

    return-object v0
.end method

.method private b(Landroid/content/Intent;)V
    .locals 2
    .parameter

    .prologue
    .line 658
    const-string v0, "MetadataFragment.IS_FOLLOWERS_SHARE_SELECTED"

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/instagram/android/creation/b/bs;->al:Z

    .line 660
    return-void
.end method

.method private b(Landroid/view/View;)V
    .locals 6
    .parameter

    .prologue
    const/4 v1, 0x0

    const/16 v5, 0x8

    .line 245
    new-instance v0, Lcom/instagram/android/creation/a;

    iget-object v2, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-direct {v0, v2, p1, p0}, Lcom/instagram/android/creation/a;-><init>(Lcom/instagram/pendingmedia/model/c;Landroid/view/View;Landroid/support/v4/app/Fragment;)V

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->ar:Lcom/instagram/android/creation/a;

    .line 246
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ar:Lcom/instagram/android/creation/a;

    invoke-virtual {v0}, Lcom/instagram/android/creation/a;->a()V

    .line 248
    sget v0, Lcom/facebook/aw;->caption_text_view:I

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 249
    new-instance v2, Lcom/instagram/android/creation/b/ca;

    invoke-direct {v2, p0}, Lcom/instagram/android/creation/b/ca;-><init>(Lcom/instagram/android/creation/b/bs;)V

    invoke-virtual {v0, v2}, Landroid/view/View;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    .line 258
    sget v0, Lcom/facebook/aw;->share_table:I

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/widget/ShareTable;

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->e:Lcom/instagram/android/widget/ShareTable;

    .line 261
    invoke-static {}, Lcom/instagram/m/b/a;->a()Lcom/instagram/m/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/m/b/a;->t()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 262
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-direct {p0, v0}, Lcom/instagram/android/creation/b/bs;->a(Lcom/instagram/pendingmedia/model/c;)V

    .line 265
    :cond_0
    new-instance v0, Lcom/instagram/android/widget/ag;

    iget-object v2, p0, Lcom/instagram/android/creation/b/bs;->e:Lcom/instagram/android/widget/ShareTable;

    iget-object v3, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    sget-object v4, Lcom/instagram/android/widget/ar;->a:Lcom/instagram/android/widget/ar;

    invoke-direct {v0, v2, p0, v3, v4}, Lcom/instagram/android/widget/ag;-><init>(Lcom/instagram/android/widget/ShareTable;Lcom/instagram/e/b/b;Lcom/instagram/model/a/b;Lcom/instagram/android/widget/ar;)V

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->f:Lcom/instagram/android/widget/ag;

    .line 272
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ah:Landroid/location/Location;

    invoke-direct {p0, v0}, Lcom/instagram/android/creation/b/bs;->a(Landroid/location/Location;)V

    .line 274
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->c:Landroid/widget/CompoundButton;

    new-instance v2, Lcom/instagram/android/creation/b/cb;

    invoke-direct {v2, p0}, Lcom/instagram/android/creation/b/cb;-><init>(Lcom/instagram/android/creation/b/bs;)V

    invoke-virtual {v0, v2}, Landroid/widget/CompoundButton;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    .line 304
    iget-object v2, p0, Lcom/instagram/android/creation/b/bs;->c:Landroid/widget/CompoundButton;

    invoke-static {}, Lcom/instagram/android/maps/f/a;->a()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-static {}, Lcom/instagram/m/b/a;->a()Lcom/instagram/m/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/m/b/a;->j()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-static {}, Lcom/instagram/m/b/a;->a()Lcom/instagram/m/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/m/b/a;->m()Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v0, 0x1

    :goto_0
    invoke-virtual {v2, v0}, Landroid/widget/CompoundButton;->setChecked(Z)V

    .line 309
    invoke-static {}, Lcom/instagram/android/maps/f/a;->a()Z

    move-result v0

    if-nez v0, :cond_1

    .line 310
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ab:Landroid/view/View;

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    .line 312
    :cond_1
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->X()V

    .line 314
    sget v0, Lcom/facebook/aw;->metadata_row_add_to_your_your_photomap:I

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v2, Lcom/instagram/android/creation/b/cc;

    invoke-direct {v2, p0}, Lcom/instagram/android/creation/b/cc;-><init>(Lcom/instagram/android/creation/b/bs;)V

    invoke-virtual {v0, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 322
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {v0}, Lcom/instagram/pendingmedia/model/c;->c()Lcom/instagram/model/a/a;

    move-result-object v0

    sget-object v2, Lcom/instagram/model/a/a;->a:Lcom/instagram/model/a/a;

    if-ne v0, v2, :cond_3

    .line 323
    sget v0, Lcom/facebook/aw;->metadata_row_people:I

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v2, Lcom/instagram/android/creation/b/cd;

    invoke-direct {v2, p0}, Lcom/instagram/android/creation/b/cd;-><init>(Lcom/instagram/android/creation/b/bs;)V

    invoke-virtual {v0, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 329
    sget v0, Lcom/facebook/aw;->metadata_textview_people:I

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->aa:Landroid/widget/TextView;

    .line 330
    sget v0, Lcom/facebook/aw;->tag_people_checkbox:I

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->Z:Landroid/widget/CheckBox;

    .line 331
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->ag()V

    .line 336
    :goto_1
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ag:Lcom/instagram/venue/model/Venue;

    invoke-direct {p0, v0}, Lcom/instagram/android/creation/b/bs;->a(Lcom/instagram/venue/model/Venue;)V

    .line 339
    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/n/k;->d(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 340
    new-instance v0, Lcom/instagram/android/creation/b/s;

    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->l()Landroid/content/res/Resources;

    move-result-object v2

    invoke-direct {v0, v2, p1}, Lcom/instagram/android/creation/b/s;-><init>(Landroid/content/res/Resources;Landroid/view/View;)V

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->ad:Lcom/instagram/android/creation/b/s;

    .line 341
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ad:Lcom/instagram/android/creation/b/s;

    invoke-virtual {v0, v1}, Lcom/instagram/android/creation/b/s;->a(I)V

    .line 342
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ad:Lcom/instagram/android/creation/b/s;

    invoke-virtual {v0}, Lcom/instagram/android/creation/b/s;->a()V

    .line 346
    :goto_2
    return-void

    :cond_2
    move v0, v1

    .line 304
    goto :goto_0

    .line 333
    :cond_3
    sget v0, Lcom/facebook/aw;->metadata_row_people:I

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    goto :goto_1

    .line 344
    :cond_4
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ac:Landroid/view/View;

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    goto :goto_2
.end method

.method static synthetic b(Lcom/instagram/android/creation/b/bs;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    iput-boolean p1, p0, Lcom/instagram/android/creation/b/bs;->al:Z

    return p1
.end method

.method static synthetic c(Lcom/instagram/android/creation/b/bs;Landroid/location/Location;)Landroid/location/Location;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    iput-object p1, p0, Lcom/instagram/android/creation/b/bs;->ah:Landroid/location/Location;

    return-object p1
.end method

.method static synthetic c(Lcom/instagram/android/creation/b/bs;)V
    .locals 0
    .parameter

    .prologue
    .line 62
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->ah()V

    return-void
.end method

.method static synthetic d(Lcom/instagram/android/creation/b/bs;)Lcom/instagram/pendingmedia/model/c;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    return-object v0
.end method

.method static synthetic e(Lcom/instagram/android/creation/b/bs;)Z
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-boolean v0, p0, Lcom/instagram/android/creation/b/bs;->ak:Z

    return v0
.end method

.method static synthetic f(Lcom/instagram/android/creation/b/bs;)Ljava/lang/Runnable;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->aj:Ljava/lang/Runnable;

    return-object v0
.end method

.method static synthetic g(Lcom/instagram/android/creation/b/bs;)Z
    .locals 1
    .parameter

    .prologue
    .line 62
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->ad()Z

    move-result v0

    return v0
.end method

.method static synthetic h(Lcom/instagram/android/creation/b/bs;)V
    .locals 0
    .parameter

    .prologue
    .line 62
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->Z()V

    return-void
.end method

.method static synthetic i(Lcom/instagram/android/creation/b/bs;)V
    .locals 0
    .parameter

    .prologue
    .line 62
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->X()V

    return-void
.end method

.method static synthetic j(Lcom/instagram/android/creation/b/bs;)V
    .locals 0
    .parameter

    .prologue
    .line 62
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->af()V

    return-void
.end method

.method static synthetic k(Lcom/instagram/android/creation/b/bs;)Z
    .locals 1
    .parameter

    .prologue
    .line 62
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->ae()Z

    move-result v0

    return v0
.end method


# virtual methods
.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 207
    sget v0, Lcom/facebook/ax;->fragment_followers_share_metadata:I

    const/4 v1, 0x0

    invoke-virtual {p1, v0, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v1

    .line 209
    sget v0, Lcom/facebook/aw;->geotagTextView:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->i:Landroid/widget/TextView;

    .line 210
    sget v0, Lcom/facebook/aw;->geotagCheckBox:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CompoundButton;

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->c:Landroid/widget/CompoundButton;

    .line 211
    sget v0, Lcom/facebook/aw;->geotagPickLocationHint:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->d:Landroid/widget/TextView;

    .line 212
    sget v0, Lcom/facebook/aw;->metadata_row_location:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->g:Landroid/view/View;

    .line 213
    sget v0, Lcom/facebook/aw;->nameLocationCheckBox:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->h:Landroid/widget/CheckBox;

    .line 214
    sget v0, Lcom/facebook/aw;->metadata_row_add_to_your_your_photomap:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->ab:Landroid/view/View;

    .line 215
    sget v0, Lcom/facebook/aw;->switch_followers_direct_layout:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->ac:Landroid/view/View;

    .line 217
    return-object v1
.end method

.method public a(IILandroid/content/Intent;)V
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 556
    const/16 v0, 0x3e8

    if-ne p1, v0, :cond_0

    .line 557
    const-string v0, "people_tags"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getParcelableArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object v0

    .line 559
    iget-object v1, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {v1, v0}, Lcom/instagram/pendingmedia/model/c;->a(Ljava/util/ArrayList;)V

    .line 560
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->ag()V

    .line 571
    :goto_0
    return-void

    .line 561
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->f:Lcom/instagram/android/widget/ag;

    if-nez v0, :cond_1

    .line 562
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/instagram/android/creation/b/bs;->ak:Z

    .line 563
    new-instance v0, Lcom/instagram/android/creation/b/bv;

    invoke-direct {v0, p0, p1, p2, p3}, Lcom/instagram/android/creation/b/bv;-><init>(Lcom/instagram/android/creation/b/bs;IILandroid/content/Intent;)V

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->aj:Ljava/lang/Runnable;

    goto :goto_0

    .line 569
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->f:Lcom/instagram/android/widget/ag;

    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->ae()Z

    move-result v1

    invoke-virtual {v0, p1, p2, p3, v1}, Lcom/instagram/android/widget/ag;->a(IILandroid/content/Intent;Z)V

    goto :goto_0
.end method

.method public a(Landroid/content/Context;)V
    .locals 3
    .parameter

    .prologue
    .line 350
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->a(Landroid/content/Context;)V

    .line 351
    new-instance v0, Lcom/facebook/b/a/k;

    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/facebook/b/a/k;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0}, Lcom/facebook/b/a/k;->a()Lcom/facebook/b/a/i;

    move-result-object v0

    const-string v1, "FollowersShareFragment.INTENT_ACTION_SHARE_EVENT"

    iget-object v2, p0, Lcom/instagram/android/creation/b/bs;->an:Lcom/instagram/android/creation/b/ce;

    invoke-interface {v0, v1, v2}, Lcom/facebook/b/a/i;->a(Ljava/lang/String;Lcom/facebook/d/a;)Lcom/facebook/b/a/i;

    move-result-object v0

    const-string v1, "MetadataFragment.INTENT_ACTION_SHARE_MODE_NOTIFY"

    iget-object v2, p0, Lcom/instagram/android/creation/b/bs;->ao:Lcom/instagram/android/creation/b/cf;

    invoke-interface {v0, v1, v2}, Lcom/facebook/b/a/i;->a(Ljava/lang/String;Lcom/facebook/d/a;)Lcom/facebook/b/a/i;

    move-result-object v0

    invoke-interface {v0}, Lcom/facebook/b/a/i;->a()Lcom/facebook/b/a/j;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/creation/b/bs;->am:Lcom/facebook/b/a/j;

    .line 357
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->am:Lcom/facebook/b/a/j;

    invoke-interface {v0}, Lcom/facebook/b/a/j;->b()V

    .line 358
    return-void
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 4
    .parameter

    .prologue
    .line 182
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->a(Landroid/os/Bundle;)V

    .line 184
    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/android/widget/as;->b(Landroid/content/Context;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/widget/as;

    .line 185
    iget-object v2, p0, Lcom/instagram/android/creation/b/bs;->ap:Ljava/util/Map;

    invoke-virtual {v0}, Lcom/instagram/android/widget/as;->f()Z

    move-result v3

    invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    invoke-interface {v2, v0, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    .line 188
    :cond_0
    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->j()Landroid/support/v4/app/j;

    move-result-object v0

    check-cast v0, Lcom/instagram/pendingmedia/model/f;

    new-instance v1, Lcom/instagram/android/creation/b/by;

    invoke-direct {v1, p0}, Lcom/instagram/android/creation/b/by;-><init>(Lcom/instagram/android/creation/b/bs;)V

    invoke-interface {v0, v1}, Lcom/instagram/pendingmedia/model/f;->a(Ljava/lang/Runnable;)V

    .line 201
    return-void
.end method

.method public a(Landroid/view/View;)V
    .locals 3
    .parameter

    .prologue
    const/4 v1, 0x0

    .line 574
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->ab()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->ac()Landroid/location/Location;

    move-result-object v0

    .line 575
    :goto_0
    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->o()Landroid/support/v4/app/Fragment;

    move-result-object v2

    invoke-virtual {v2}, Landroid/support/v4/app/Fragment;->m()Landroid/support/v4/app/r;

    move-result-object v2

    invoke-static {v2, v1, v0}, Lcom/instagram/android/creation/c;->a(Landroid/support/v4/app/r;Ljava/lang/String;Landroid/location/Location;)V

    .line 576
    return-void

    :cond_0
    move-object v0, v1

    .line 574
    goto :goto_0
.end method

.method public a(Landroid/view/View;Landroid/os/Bundle;)V
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 222
    invoke-super {p0, p1, p2}, Lcom/instagram/e/b/b;->a(Landroid/view/View;Landroid/os/Bundle;)V

    .line 224
    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->j()Landroid/support/v4/app/j;

    move-result-object v0

    check-cast v0, Lcom/instagram/pendingmedia/model/f;

    new-instance v1, Lcom/instagram/android/creation/b/bz;

    invoke-direct {v1, p0, p2, p1}, Lcom/instagram/android/creation/b/bz;-><init>(Lcom/instagram/android/creation/b/bs;Landroid/os/Bundle;Landroid/view/View;)V

    invoke-interface {v0, v1}, Lcom/instagram/pendingmedia/model/f;->a(Ljava/lang/Runnable;)V

    .line 242
    return-void
.end method

.method public a(Lcom/instagram/venue/model/Venue;Ljava/lang/String;)V
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 489
    iput-object p1, p0, Lcom/instagram/android/creation/b/bs;->ag:Lcom/instagram/venue/model/Venue;

    .line 490
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {v0, p1}, Lcom/instagram/pendingmedia/model/c;->a(Lcom/instagram/venue/model/Venue;)V

    .line 491
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {v0, p2}, Lcom/instagram/pendingmedia/model/c;->j(Ljava/lang/String;)V

    .line 493
    invoke-static {}, Lcom/instagram/pendingmedia/b/c;->a()Lcom/instagram/pendingmedia/b/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/pendingmedia/b/c;->b()V

    .line 495
    invoke-virtual {p0}, Lcom/instagram/android/creation/b/bs;->s()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 496
    invoke-direct {p0, p1}, Lcom/instagram/android/creation/b/bs;->a(Lcom/instagram/venue/model/Venue;)V

    .line 498
    :cond_0
    return-void
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 664
    const-string v0, "metadata_followers_share"

    return-object v0
.end method

.method public e(Landroid/os/Bundle;)V
    .locals 2
    .parameter

    .prologue
    .line 416
    const-string v0, "location"

    iget-object v1, p0, Lcom/instagram/android/creation/b/bs;->ah:Landroid/location/Location;

    invoke-virtual {p1, v0, v1}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V

    .line 417
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->e(Landroid/os/Bundle;)V

    .line 418
    return-void
.end method

.method public f_()V
    .locals 0

    .prologue
    .line 615
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->Y()V

    .line 616
    invoke-super {p0}, Lcom/instagram/e/b/b;->f_()V

    .line 617
    return-void
.end method

.method public g_()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 621
    invoke-super {p0}, Lcom/instagram/e/b/b;->g_()V

    .line 622
    invoke-direct {p0}, Lcom/instagram/android/creation/b/bs;->Y()V

    .line 624
    iput-object v1, p0, Lcom/instagram/android/creation/b/bs;->e:Lcom/instagram/android/widget/ShareTable;

    .line 625
    iput-object v1, p0, Lcom/instagram/android/creation/b/bs;->f:Lcom/instagram/android/widget/ag;

    .line 626
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->c:Landroid/widget/CompoundButton;

    if-eqz v0, :cond_0

    .line 627
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->c:Landroid/widget/CompoundButton;

    invoke-virtual {v0, v1}, Landroid/widget/CompoundButton;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    .line 628
    iput-object v1, p0, Lcom/instagram/android/creation/b/bs;->c:Landroid/widget/CompoundButton;

    .line 630
    :cond_0
    iput-object v1, p0, Lcom/instagram/android/creation/b/bs;->d:Landroid/widget/TextView;

    .line 631
    iput-object v1, p0, Lcom/instagram/android/creation/b/bs;->g:Landroid/view/View;

    .line 632
    iput-object v1, p0, Lcom/instagram/android/creation/b/bs;->h:Landroid/widget/CheckBox;

    .line 633
    iput-object v1, p0, Lcom/instagram/android/creation/b/bs;->i:Landroid/widget/TextView;

    .line 634
    iput-object v1, p0, Lcom/instagram/android/creation/b/bs;->ab:Landroid/view/View;

    .line 635
    iput-object v1, p0, Lcom/instagram/android/creation/b/bs;->aa:Landroid/widget/TextView;

    .line 636
    iput-object v1, p0, Lcom/instagram/android/creation/b/bs;->Z:Landroid/widget/CheckBox;

    .line 637
    iput-object v1, p0, Lcom/instagram/android/creation/b/bs;->ar:Lcom/instagram/android/creation/a;

    .line 639
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ad:Lcom/instagram/android/creation/b/s;

    if-eqz v0, :cond_1

    .line 640
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ad:Lcom/instagram/android/creation/b/s;

    invoke-virtual {v0}, Lcom/instagram/android/creation/b/s;->b()V

    .line 641
    iput-object v1, p0, Lcom/instagram/android/creation/b/bs;->ad:Lcom/instagram/android/creation/b/s;

    .line 643
    :cond_1
    return-void
.end method

.method public h(Landroid/os/Bundle;)V
    .locals 1
    .parameter

    .prologue
    .line 395
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->h(Landroid/os/Bundle;)V

    .line 396
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    if-eqz v0, :cond_0

    .line 398
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ag:Lcom/instagram/venue/model/Venue;

    invoke-direct {p0, v0}, Lcom/instagram/android/creation/b/bs;->a(Lcom/instagram/venue/model/Venue;)V

    .line 400
    :cond_0
    return-void
.end method

.method public k_()V
    .locals 1

    .prologue
    .line 362
    invoke-super {p0}, Lcom/instagram/e/b/b;->k_()V

    .line 363
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->am:Lcom/facebook/b/a/j;

    invoke-interface {v0}, Lcom/facebook/b/a/j;->c()V

    .line 364
    return-void
.end method

.method public x()V
    .locals 2

    .prologue
    .line 544
    invoke-super {p0}, Lcom/instagram/e/b/b;->x()V

    .line 547
    iget-boolean v0, p0, Lcom/instagram/android/creation/b/bs;->al:Z

    if-eqz v0, :cond_0

    .line 548
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->ae:Lcom/instagram/pendingmedia/model/c;

    iget-object v1, p0, Lcom/instagram/android/creation/b/bs;->ar:Lcom/instagram/android/creation/a;

    invoke-virtual {v1}, Lcom/instagram/android/creation/a;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/pendingmedia/model/c;->d(Ljava/lang/String;)V

    .line 550
    :cond_0
    invoke-static {}, Lcom/instagram/pendingmedia/b/c;->a()Lcom/instagram/pendingmedia/b/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/pendingmedia/b/c;->b()V

    .line 551
    return-void
.end method

.method public y()V
    .locals 1

    .prologue
    .line 647
    invoke-super {p0}, Lcom/instagram/e/b/b;->y()V

    .line 648
    iget-object v0, p0, Lcom/instagram/android/creation/b/bs;->b:Landroid/content/BroadcastReceiver;

    invoke-static {v0}, Lcom/instagram/n/d;->a(Landroid/content/BroadcastReceiver;)V

    .line 649
    return-void
.end method
